/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mapbar.pay.util;

/**
 *
 * @author fengbj
 */
public class ProjectUtil {

    /**
     * 项目编码
     */
    public final static String ENCODE = "UTF-8";
    /**
     * 在cookie中的用户名key
     */
    public final static String USER_NAME_IN_COOKIE = "userName";
    /**
     * 在cookie中的用户id的key
     */
    public final static String USER_ID_IN_COOKIE = "userId";
    /**
     * 在cookie中的用户idc的key(加密的id)
     */
    public final static String USER_IDC_IN_COOKIE = "userIdc";
    /**
     * 用户登录信息在缓存中的记录时间
     */
    public final static int USER_INFO_TIME = 10000;
    /**
     * 用户存放在缓存中的key的前缀
     */
    public final static String USER_PREFIX_IN_CACHE = "pay.mapbar.com_";
    /**
     * 登录接口url
     */
    public final static String LOGON_URL = "logonUrl";
    /**
     * #获取激活码接口url
     */
    public final static String GET_ACTIVATION_INFO_URL = "getActivationInfoUrl";


    /**
     * 获取设备信息接口url
     */
    public final static String GET_DEVICE_INFO_URL = "getDeviceInfoUrl";

    /**
     * 校验序列号接口url
     */
    public final static String CHECK_SERIAL = "checkSerialUrl";

    /**
     * 校验设备码接口url
     */
    public final static String CHECK_DEVICE_ID = "checkDeviceIdUr";

    /**
     * 刷新用户信息url
     */
        public final static String REFRESH_USER_INFO = "refreshUserInfoUrl";

    /**
     * 校验设备码接口url
     */
    public final static String GET_CORP = "getCorpUrl";

    /**
     * 刷新用户信息url
     */
    public final static String GET_BRANDS_BY_CORPID = "getBrandsByCorpIdUrl";

    /**
     * 刷新用户信息url
     */
    public final static String GET_DEVICE_MODEL = "getDeviceModel";

     /**
     * 注册url
     */
    public final static String REG = "regUrl";
}
